IApi.WriteAxisMop method
Writes a value of the Modes of Operation variable into an axis.
Namespace: IntervalZero.KINGSTAR.Base.ApiAssembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
KsError WriteAxisMop(
int Index,
byte Value
)
Function WriteAxisMop(
Index As Integer,
Value As Byte
) As KsError
Parameters
Index
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Value
Type: byte
The value to write.
Return value
Type: KsError
A return code of a method.
Remarks
- Used in the cyclic callback to update the Modes of Operation of an axis. This method should only be used when the CANopen state is Not Ready.
This function can be used only in Manual mode. See the McControlMode enum.
Usable EtherCAT states
ecatOP
Examples
N/A
See also